More specific logging facility.
Sort keys in php before signing.
Encode JSON consistently between php and python.