Mass modifications to use PMA_String.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>