Changed the ack / fail to JSON packets

This is a required change for RPG support in the future.