Move helper method for Decree into serializer
Do not use acronym for API
Fix namespace