respecting json conventions