cleaning up json