fixed bug causing JSON to not compile