Did some json cleaning