You can also write getters for your different formats:
public function getGeoAsString()
{
// Create the string from your DB value. For example:
return implode(',', json_decode($this->geom));
}
Then you can use the geoAsString
like a regular (read-only) attribute. You can also add a setter method, if you want to make it writeable.