Improves JSON state