CB 5613 Cordova does not return an error when you have a malformed .json file when you provide a -d

https://issues.apache.org/jira/browse/CB-5613

1. Make -d handle cases where what is thrown doesn't have a .stack property
2. Include a stack property for config_json case