Fix a small error causing incorrect json