Added indent to String class

Closes #4
Added condition that prevents JSON parsing exceptions for non JSON bodies