refactor PrefixService
use bidirectional map and generate SPRAQL Prefix declaration to reduce redundancy