Fixed payload getter + JSON error message for GET requests