App crashed if received JSON format is incorrect from device