refactored createResponse() into multiple methods to make extending the ViewHandler easier
refactored createResponse() into multiple methods to make extending the ViewHandler easier

silverbackdan/FOSRestBundle,silverbackdan/FOSRestBundle