Ensured getProperties returns JSON.