Added exception catch for malformed json payload