Initial trial for dynamic fields
Fixing bug regarding json object for posts page