made json nice by making code ugly