added default serialization
added behavior for success flow
added mvn jboss goal