JSON parser complete

json file writes without new lines, should check if that's ok