Final fixes, json fixing and .pot generation.