Fixes the GetBody api when using JsonSerialization to return the proper content. Fixes #326