still failing at json formatting