[json] add json decoding for create method