static_hash_maps: add support for custom declarations at the beginning of the generated spec file