CLOUDSTACK-5765: cleanup internal serialization and exception propagation issues