share transformations (php port)
json header