Fix #1 added unit id to JSON dump.

The id is extracted form the blueprint filename.