FIX compount persistence in CKAN

Solves the bug reported by Juan Elosua.
Not sure if looking for an starting character in the string is the best approach... I tend to think is a weak implementation, but let's wait for @frbattid (which has the "overall picture" on how input JSON is processed) to validate this approach or propose a better one.