Feature #9714 Return object or array after RunSnippet
http://tracker.modx.com/issues/9714