fix exceptions when parsing json
Merge branch 'phoenix' of https://github.com/InvictusInnovations/fc into HEAD