added unknown page handling and basic metadata handling to JSON serialization...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>