Remove empty keys of meta field before save. Store null instead of empty JSON in meta field in DB.
Remove empty keys of meta field before save.
Store null instead of empty JSON in meta field in DB.

nevmerzhitsky/yii2-seomodule