json property not treated correctly