serialize metadata to JSON to ensure it works across text only streams
Bump version to 0.4.0