Fixed issue with entity marshalling in akka support