findbugs fixes for ApiServer, ApiSerializerHelper and ApiXmlDocWriter