fixed 5.3 errors due to json_last_error_msg, added travis badge