Fixed getting data from peer
Refactored JsonMapper from JsonEntity